from django.urls import path
from . import views
from . import digital_sign_view

urlpatterns = [
    path(r'archive', views.archive), # 归档附件
    path(r'archive_2', views.archive_v2), # 归档附件
    path(r'archive_to_xujf_com', views.transfer_to_xu_com),# 迁移附件
    path(r"update_bzy",views.update_bzy), # 同步更新编制员
    path(r"gen_base/<str:uuid_string>", views.generate_base_report),
    path(r'print_by_xlsx/<str:sheet_uuid>', views.print_by_xlsx),
    path(r'print_financial_xlsx', views.print_financial_xlsx), # 财务导出全部
    # print_Appoint_by_xlsx
    path(r'print_Appoint_by_xlsx/<str:sheet_uuid>', views.print_Appoint_by_xlsx),
    # print_Appoint_financial_xlsx
    path(r'print_Appoint_financial_xlsx', views.print_Appoint_financial_xlsx),
    # 根据word模版封面生成报告
    path(r'report/gen_report/<str:uuid_string>', views.generate_report),
    path(r'get_whole_report',views.get_whole_report),
    path(r'get_fake_sign_report',views.get_fake_sign_report), # 获取伪签名报告
    path(r'saving_signature_photos', views.saving_signature_photos),
    path(r'batch_generation_report', views.batch_generation_report), # 批量生成报告
    path(r'refuse_to_register', views.refuse_to_register),# 筛选报告冻结编制员账号
    path(r'report_modify', views.modify_report), # 高管修改报告
    # 更正申请
    path(r'modify_application', views.modify_application),
    # 自动审核
    path(r'auto-approve', views.auto_approve),
    # 批量流程同意转发
    path(r'batch_process_agree', views.batch_process_agree),
    path(r"batch_gen_report",views.batch_gen_report), #批量生成报告文件

    path(r'update_report_attachment', views.update_report_attachment),
    path(r'get_report_detail',views.get_report_detail), #防伪验证

    # 宜搭创建电子签章订单
    # 人脸识别页面
    path(r'face_recognition', digital_sign_view.face_recognition),
    # 发起电子签章
    path(r'start_digital_sign', digital_sign_view.start_digital_sign),
    # 发起电子签章-批量
    path(r'start_digital_signs', digital_sign_view.start_digital_signs),
    # 个人开户
    path(r"signup-person",digital_sign_view.signup_person),
    # 人脸识别页面
    path(r'face_register', digital_sign_view.face_register),
    # 订单签署完成回调-日报
    path(r'sign_order_completed_daily_paper', digital_sign_view.sign_order_completed_daily_paper),
    # 获取防伪验证码
    path(r'get_verify_code', digital_sign_view.get_verify_code),
    
    path(r'get_report_id_by_verify_code', digital_sign_view.get_report_id_by_verify_code),
    path(r'sign-order-completed', digital_sign_view.sign_order_completed),# 订单签署完成回调
    path(r"create_sign_order_by_yida_form",digital_sign_view.create_sign_order_by_yida_form),
    path(r"view_signed_file",digital_sign_view.view_signed_file),
    path(r"create_digital_sign_order",digital_sign_view.create_digital_sign_order), #创建电子订单v2


    path(r"foundation_install_statistics",views.foundation_install_statistics), #基坑安装统计打印
    path(r"foundation_preuse_sign",views.foundation_preuse_sign), # 基坑同步预用登记
]
